<?php 


//取子分类
function SidType($pid){
    $z_list = Db::name('class_goods')->where(['pid'=>$pid])->select();
    return $z_list;
}